<html>
<body>
Detects the function calls that could work faster with an argument converted to <code>Set</code>.

<p>
    Operations like 'minus' or 'intersect' are more effective when their argument is a set.
    An explicit conversion of an <code>Iterable&lt;T&gt;</code> or an <code>Array&lt;T&gt;</code>
    into a <code>Set&lt;T&gt;</code> can often make code more effective.
</p>

<p>
    The quick-fix adds an explicit conversion to the function call.
</p>

<p><b>Example:</b></p>
<pre><code>
  fun &lt;T&gt; f(a: Iterable&lt;T&gt;, b: Iterable&lt;T&gt;): Int =
      a.intersect(b).size
</code></pre>

<p>After the quick-fix is applied:</p>
<pre><code>
  fun &lt;T&gt; f(a: Iterable&lt;T&gt;, b: Iterable&lt;T&gt;): Int =
      a.intersect(b.toSet()).size
</code></pre>
</body>
<!-- tooltip end -->
</body>
</html>